@mixin border-fix ($color:#000, $radius:0) {
  position: relative;
  &::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    border: 1px solid $color;
    width: 200%;
    height: 200%;
    transform: scale(.5);
    transform-origin: 0 0;
    border-radius: $radius;
  }
}

@mixin border-top-1px($color) {
  position: relative;
  &::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border-top: 1px solid $color;
    transform: scaleY(.5);
  }
}

@mixin border-bottom-1px($color) {
  position: relative;
  &::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-top: 1px solid $color;
    transform: scaleY(.5);
  }
}